Skip to content

Conversation

@alexander-akait
Copy link
Collaborator

@alexander-akait alexander-akait commented Aug 6, 2019

Rewrite parser using algorithm from spec https://www.w3.org/TR/css-syntax-3/#consume-number, it is better maintenance than loop

Also we have some edge cases where parser return invalid result and try to fix it increase nested if/else

/cc @TrySound

@alexander-akait alexander-akait merged commit d83cd7f into master Aug 7, 2019
@alexander-akait alexander-akait deleted the fix-unit-parsing branch August 7, 2019 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants